#ifndef _H_COMM_
#define _H_COMM_

typedef enum {
		COMM0,
		COMM1,
		COMM2,
		COMM3,
		nlCOMM		
}COMMTYPE;

extern int32_t Comm_Open(const COMMTYPE commId);

extern void Comm_Close(const COMMTYPE commId);

extern int32_t Comm_Write(const COMMTYPE commId,const uint16_t len,uint8_t *data);

extern int32_t Comm_Read(const COMMTYPE commId,const uint16_t len,uint8_t *data);

#endif
